package com.ccys.db.mapper;

import com.ccys.db.dto.userManagement.TblMemberNoteDTO;
import com.ccys.db.entity.TblMemberNote;
import com.ccys.db.vo.doctor.patientNote.PatientNotesMakeVo;
import com.ccys.db.vo.userManagement.TblMemberNoteWebVO;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
* Created by Mybatis Generator on 2023/12/18
*/
public interface TblMemberNoteMapper extends Mapper<TblMemberNote>, MySqlMapper<TblMemberNote> {
    List<TblMemberNoteWebVO> listObjectsCms(TblMemberNoteDTO dto);

    List<PatientNotesMakeVo> findPageByMemberId(@Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize,@Param("memberId") String memberId);

    TblMemberNote selectLastOneByMember(@Param("memberId")String memberId);
}